package com.example.demo.entity;

public class PersonSearchBean {
    private String workNumber;
    private String name;
    private String workTime;
    private String profession;
    private String department;
    private int page;
    private int start;
    private int limit;

    public PersonSearchBean() {
    }

    public PersonSearchBean(String workNumber, String name, String workTime, String profession, String department, int page, int limit) {
        this.workNumber = workNumber;
        this.name = name;
        this.workTime = workTime;
        this.profession = profession;
        this.department = department;
        this.page = page;
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "PersonSearchBean{" +
                "workNumber='" + workNumber + '\'' +
                ", name='" + name + '\'' +
                ", workTime='" + workTime + '\'' +
                ", profession='" + profession + '\'' +
                ", department='" + department + '\'' +
                ", page=" + page +
                ", start=" + start +
                ", limit=" + limit +
                '}';
    }

    public String getWorkNumber() {
        return workNumber;
    }

    public void setWorkNumber(String workNumber) {
        this.workNumber = workNumber;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWorkTime() {
        return workTime;
    }

    public void setWorkTime(String workTime) {
        this.workTime = workTime;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }
}
